package com.dwxt.community.dao;

import com.dwxt.community.entity.OfflineActivity;
import com.dwxt.community.entity.OfflineActivityExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OfflineActivityMapper {
    long countByExample(OfflineActivityExample example);

    int deleteByExample(OfflineActivityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OfflineActivity record);

    int insertSelective(OfflineActivity record);

    List<OfflineActivity> selectByExample(OfflineActivityExample example);

    OfflineActivity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OfflineActivity record, @Param("example") OfflineActivityExample example);

    int updateByExample(@Param("record") OfflineActivity record, @Param("example") OfflineActivityExample example);

    int updateByPrimaryKeySelective(OfflineActivity record);

    int updateByPrimaryKey(OfflineActivity record);
}